<div id="box-photo-upload" class="modal fade">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
        <h4 class="modal-title"><i class="icon-hdd"></i> Upload from Computer</h4>
      </div>
      <div class="modal-body">
		<div id="box-photo-file" class="box-content">
			<form enctype="multipart/form-data" class="form-horizontal" method="POST" action="<?php echo $this->Html->url(array('controller' => 'images', 'action' => 'upload', 'ajax' => true));?>">
				<fieldset>
				  <div class="control-group">
					<label class="control-label">File Upload</label>
					<div class="controls">
					  <input name="data[Upload][]" type="file" multiple>
					  <button type="submit" class="btn btn-primary">Upload</button>
					</div>
				  </div>			  
			  	</fieldset>
			</form>
			<ul id="upload-photo-select" class="thumbnails gallery"></ul>
		</div>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default btn-primary" data-dismiss="modal">Close</button>
      </div>
    </div><!-- /.modal-content -->
  </div><!-- /.modal-dialog -->
</div><!-- /.modal -->
<script type="text/javascript">
$(document).ready(function () {
	UploadPhotoBox.listen();
});
</script>